﻿using MediatR;
using Traceability.APP.DTO;
using Traceability.Damoin;
using Traceability.ErrorCode;

namespace Traceability.APP.Application.Command.Traceablitys
{
    public class GetTraceablityCommand : IRequest<APIResult<APIPaing<List<TraceablityDto>>>>
    {
        public int PageIndex { get; set; }
        public int PageSize { get; set; }
        public int? SId { get; set; }
        /// <summary>
        /// 生产批次
        /// </summary>
        public string? Batch { get; set; }
        /// <summary>
        /// 保质期（天）
        /// </summary>
        public int? ShelfLife { get; set; }
        /// <summary>
        /// 生产许可证
        /// </summary>
        public string? LicenseNumber { get; set; }
        /// <summary>
        /// 生产企业
        /// </summary>
        public string? Enterprise { get; set; }

    }
}
